package com.honey.mybatis.generator.dependent;

import com.honey.mybatis.generator.dao.DaoConstant;

/**
 * 注入模式下mapper Id获取方式
 * @author Administrator
 *
 */
public class InjectionMapperId implements DependentMapperId {

	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.dependent.DependentMapperId#getDeleteByDynamicMapperId()
	 */
	@Override
	public String getDeleteByDynamicMapperId() {
		return DaoConstant.DELETE_BY_DYNAMIC_FIELD_NAME;
	}

	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.dependent.DependentMapperId#getVirtualDeleteByDynamicMapperId()
	 */
	@Override
	public String getVirtualDeleteByDynamicMapperId() {
		return DaoConstant.VIRTUAL_DELETE_BY_DYNAMIC_FIELD_NAME;
	}
	
	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.dependent.DependentMapperId#getDeleteByPrimaryKeyMapperId()
	 */
	@Override
	public String getDeleteByPrimaryKeyMapperId() {
		return DaoConstant.DELETE_BY_PRIMARYKEY_FIELD_NAME;
	}

	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.dependent.DependentMapperId#getVirtualDeleteByPrimaryKeyMapperId()
	 */
	@Override
	public String getVirtualDeleteByPrimaryKeyMapperId() {
		return DaoConstant.VIRTUAL_DELETE_BY_PRIMARYKEY_FIELD_NAME;
	}

	
	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.dependent.DependentMapperId#getExistsMapperId()
	 */
	@Override
	public String getExistsMapperId() {
		return DaoConstant.EXISTS_FIELD_NAME;
	}

	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.dependent.DependentMapperId#getInsertMapperId()
	 */
	@Override
	public String getInsertMapperId() {
		return DaoConstant.INSERT_FIELD_NAME;
	}

	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.dependent.DependentMapperId#getInsertSelectiveMapperId()
	 */
	@Override
	public String getInsertSelectiveMapperId() {
		return DaoConstant.INSERT_SELECTIVE_FIELD_NAME;
	}

	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.dependent.DependentMapperId#getSelectByDynamicMapperId()
	 */
	@Override
	public String getSelectByDynamicMapperId() {
		return DaoConstant.SELECT_BY_DYNAMIC_FIELD_NAME;
	}

	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.dependent.DependentMapperId#getSelectByPrimaryKeyMapperId()
	 */
	@Override
	public String getSelectByPrimaryKeyMapperId() {
		return DaoConstant.SELECT_BY_PRIMARYKEY_FIELD_NAME;
	}

	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.dependent.DependentMapperId#getSelectCountMapperId()
	 */
	@Override
	public String getSelectCountMapperId() {
		return DaoConstant.SELECT_COUNT_FIELD_NAME;
	}

	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.dependent.DependentMapperId#getUpdateByDynamicMapperId()
	 */
	@Override
	public String getUpdateByDynamicMapperId() {
		return DaoConstant.UPDATE_BY_DYNAMIC_FIELD_NAME;
	}

	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.dependent.DependentMapperId#getUpdateByDynamicSelectiveMapperId()
	 */
	@Override
	public String getUpdateByDynamicSelectiveMapperId() {
		return DaoConstant.UPDATE_BY_DYNAMIC_SELECTIVE_FIELD_NAME;
	}

	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.dependent.DependentMapperId#getUpdateByPrimaryKeyMapperId()
	 */
	@Override
	public String getUpdateByPrimaryKeyMapperId() {
		return DaoConstant.UPDATE_BY_PRIMARYKEY_FIELD_NAME;
	}

	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.dependent.DependentMapperId#getUpdateByPrimaryKeySelectiveMapperId()
	 */
	@Override
	public String getUpdateByPrimaryKeySelectiveMapperId() {
		return DaoConstant.UPDATE_BY_PRIMARYKEY_SELECTIVE_FIELD_NAME;
	}

}
